package com.example.teach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teach.entity.Article;
import com.example.teach.entity.Result;
import com.example.teach.vo.ArticleVO;

public interface ArticleService extends IService<Article> {
    Result add(ArticleVO articleVO);

    Result articlePage(Integer pageNum, Integer pageSize, String str);

    void addOne(Integer id);

    Result like(Integer userId, Integer articleId);

    Result pageByCategery(Integer pageNum, Integer pageSize, Integer categoryId);
}
